<html>
<head>
    <style>
        body {
            font-size: 12px;
        }

        .sideBarNav {
            width: 200px;
            height: auto;
            padding: 2px;
            border: solid 1px #CCC;
        }

        .sideBarNav ul {
            list-style: none outside none;
            margin: 0px;
            padding: 0px;
        }

        .sideBarNav li {
            height: 25px;
            line-height: 25px;
        }

        .sideBarNav li a {
            text-decoration: none;
            color: #333;
        }

        .innerTit {
            width: 194px;
            margin: 0px auto;
            background-color: #06C;
            display: block;
            color: #FFF;
            padding: 2px;
            cursor: pointer;
        }

    </style>
    <script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
    <script>
        $(function () {
            $(".tit > ul:gt(0)").hide();
            $(".tit").click(function () {
                $(this).children("ul").slideDown(300).end()
                        .siblings().children("ul").slideUp(300);
            });
        });

    </script>
</head>
<body>
<div class="sideBarNav">
    <div class="tit">
        <span class="innerTit">标题1</span>
        <ul>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
        </ul>
    </div>
    <div class="tit">
        <span class="innerTit">标题1</span>
        <ul>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
        </ul>
    </div>
    <div class="tit">
        <span class="innerTit">标题1</span>
        <ul>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
        </ul>
    </div>
    <div class="tit">
        <span class="innerTit">标题1</span>
        <ul>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
            <li><a href="javascript:void(0)" mce_href="javascript:void(0)">测试连接</a></li>
        </ul>
    </div>
</div>

</body>
</html>